package databaseModule;

import java.sql.*;
import java.util.UUID;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.ArrayList;

public class Test {
	public static void main(String args[]) throws Exception{
		Student stu;
		Map<String, Object> mp = new HashMap<String, Object>();
		ArrayList<Database> res = Student.query(mp);
		Iterator it = res.iterator();
		while (it.hasNext()) {
			stu = (Student)it.next();
			System.out.println(stu.getSname() + " " + stu.getSnum());
		}
		System.out.println("Done");
	}
}
